package com.fangjinwang.zhushunqing.Ui.Home.contrct;

import com.jaydenxiao.common.base.BaseModel;
import com.jaydenxiao.common.base.BasePresenter;
import com.jaydenxiao.common.base.BaseView;

import rx.Observable;

/**
 * Created by admin on 2016/11/4.
 */
public  interface HomeContrct {
    public abstract class Model extends BaseModel {
       public abstract Observable<String> getHomeData(String method, String requestData, boolean isEncrypt, String token);
    }

    public interface View extends BaseView {

        void returnHomeData(String homeEntity);
    }

    public abstract class Presenter extends BasePresenter<View, Model> {

        public abstract void getHomeDataRequest(String method,String requestData,boolean isEncrypt,String token);
    }
}
